package cc.beup.common.query;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author: Byron Bai
 * @Date: 2021/4/18 20:05
 * @Description:
 */
@Data
public class IdQuery {

    @NotNull(message = "id不能为空")
    private Integer id;

    public IdQuery(Integer id) {
        this.id = id;
    }

    public IdQuery() {
    }
}
